package com.liu.system;

/*
 * 错误提示信息类
 * 创建时间2017.3.7
 * @author lyq
 * */
public class Error {
	public static final String  END_WITH_NO_SEM = "The program ended without a semicolon.";//结尾没有结束符
	public static final String NUMBER_SPACE_NUMBER = "There is gaps between the two numbers.";//数字间有空白符
	public static final String NUMBER_SPACE_LETTER = "There are gaps between numbers and variables.";//数字和字母间有空白符
	public static final String LETTER_SPACE_LETTER = "There are graps between variables.";//字母间有空白符
	public static final String LETTER_SPACE_NUMBER = "There are gaps between numbers and variables.";//字母和数字间有空白符
	public static final String LETTER_AFTER_NUMBER = "There is a variable which is not initialized.";//数字之后紧跟字母，可能是变量名不符合规定
	public static final String POINT_AFTER_SPACE = "There is gaps before a point.";//小数点前面有空格
	public static final String POINT_AFTER_LETTER = "There is a letter before a point.";//小数点前面有字母
	public static final String POINT_AFTER_POINT = "There are too many points in a number.";//一个数字中有多个小数点
	public static final String NUMBER_END_POINT = "There is a number which ended with a point.";//一个数字以小数点结尾
	public static final String NO_THIS_TYPE =  "The system cannot recognize this symbol.";//计算表达式时找不到匹配该变量的符号类型
	public static final String NO_THIS_VARIBLE ="A varible has be used which not be initialized.";//使用了未经初始化的变量进行运算
	public static final String DIVIDED_BY_ZERO ="The divisor can not be zero.";//除数为0
	public static final String WRONG_FORMAT_OF_EXPRESSION = "There is error in expression.";//错误的表达式
	public static final String INCORRECT_ASSIGNMENT = "There is a error in assignment statement.";//赋值语句有误
	public static final String NAME_WITH_KEYWORD = "A varible named by keyword.";//使用保留字进行命名
	public static final String CONTAIN_UNKNOWN_CAHR = "There is a character which is not recognized by the system.";//输入中包含未知字符
	public static final String UNRECOGNIZED_SENTENCE = "There is a sentence which is not recognized by the system.";//包含无法识别的语句
}
